import Mock from 'mockjs';

import './user'; 
import './article'; 

Mock.setup({
    timeout: '200-600' 
});

Mock.mock(/\.get$/, 'get', (options) => {
    console.log('Mocked GET request: ', options.url);
    return {
        code: 200,
        message: '操作成功',
        data: {}
    };
});